//
//  ClassDetailModel.m
//  BOSS-SOOC
//
//  Created by apple on 16/8/19.
//  Copyright © 2016年 Gcx. All rights reserved.
//

#import "ClassDetailModel.h"

@implementation ClassDetailModel

- (id)initWithDic:(NSDictionary *)dic{
    
    if (self = [super init]) {
        
        _kcfm= dic[@"kcfm"];
        _kcid= dic[@"kcid"];
        _kcls= dic[@"kcls"];
        _kcjs= dic[@"kcjs"];
        _kcrs= dic[@"kcrs"];
        _kcmc= dic[@"kcmc"];
        _kcsx= dic[@"kcsx"];
        _kcpj= dic[@"kcpj"];
        _isEncrypt= dic[@"isEncrypt"];
        _lastpage= dic[@"lastpage"];
        
    }
    
    return self;
}

+ (ClassDetailModel *)modelWithDic:(NSDictionary *)dic{
    
    return [[ClassDetailModel alloc]initWithDic:dic];
}

@end
